package com.farmer.redpacket.mapper;

import com.farmer.redpacket.entity.RedPacketDetail;
import com.farmer.redpacket.entity.RedPacketDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BaseRedPacketDetailMapper {
    long countByExample( RedPacketDetailExample example);

    int deleteByExample( RedPacketDetailExample example);

    int deleteByPrimaryKey( Long id);

    int insert( RedPacketDetail record);

    int insertSelective( RedPacketDetail record);

    List<RedPacketDetail> selectByExample( RedPacketDetailExample example);

    RedPacketDetail selectByPrimaryKey( Long id);

    int updateByExampleSelective(@Param("record") RedPacketDetail record, @Param("example") RedPacketDetailExample example);

    int updateByExample(@Param("record") RedPacketDetail record, @Param("example") RedPacketDetailExample example);

    int updateByPrimaryKeySelective( RedPacketDetail record);

    int updateByPrimaryKey( RedPacketDetail record);
}